package com.hzit.bj1804.dianweb.service;

import com.github.pagehelper.PageInfo;
import com.hzit.bj1804.dian.entity.Memberbase;
import com.hzit.bj1804.dian.vo.MemberPage;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;

@Component
public class MemberbaseFallBackImpl implements MemberService {

    @Override
    public List<Memberbase> seleteAll() {
        System.out.println("seleteAll备胎");
        return null;
    }

    @Override
    public Memberbase seleteByNmae(String mname) {
        System.out.println("seleteByNmae备胎");
        return null;
    }

    @Override
    public List<Memberbase> seleteByTime(Date starttime, Date endtime, String mname) {
        System.out.println("seleteByTime备胎");
        return null;
    }

    @Override
    public int insert(Memberbase memberbase) {
        System.out.println("insert备胎");
        return 0;
    }

    @Override
    public PageInfo<Memberbase> seleteAllPage(int limit, int page) {
        System.out.println("seleteAllPage备胎");
        return null;
    }

    @Override
    public PageInfo<Memberbase> seleteByTimePage(int limit, int page, Date starttime, Date endtime, String mname) {
        System.out.println("seleteByTimePage备胎");
        return null;
    }

    @Override
    public int update(int mid, String mstatus) {
        return 0;
    }

    @Override
    public int updatePassword(String mname, String newmpassword) {
        return 0;
    }


    @Override
    public Memberbase select(String mname, String mpassword) {
        return null;
    }

    @Override
    public Memberbase selectByMid(int mid) {
        return null;
    }
}
